let token = getToken();
let user = JSON.parse(window.localStorage.getItem("userInfo"));
if (user) {
  var res = playGet(`v1/api/users/tj/${user.id}`, "", "", token);
  if (res.code == 200) {
    console.log(res.data);
    if (res.data.length === 0) {
      $("#noData").show();
    }
    window.localStorage.setItem("introduce", res.data.length);
    res.data.forEach((m) => {
      let li = `<li><img src="phoneContent/img/headImg.png"/><div class="fr"><p class="t_name">昵称名称：${m.name}</p><p class="t_id">ID：${m.id}</p><p class="t_id">激活时间：${m.createTime}</p></div></li>`;
      $("#dataList").append(li);
    });
  } else {
    mui.alert(res.msg);
  }
} else {
  mui.alert("您还未登录，请先登录");
}
